﻿using System.Text.Json.Serialization;

namespace Sirius.Entity
{
    public class MemberWithGuildID
    {
        //频道ID
        [JsonPropertyName("guild_id")]
        public string guild_Id { get; set; }

        //用户的频道基础信息
        [JsonPropertyName("user")]
        public User User { get; set; }

        //用户昵称
        [JsonPropertyName("nick")]
        public string Nick { get; set; }

        //用户在频道内的身份
        [JsonPropertyName("roles")]
        public string[] roles { get; set; }

        //用户加入频道的时间
        [JsonPropertyName("joined_at")]
        public DateTime joined_At { get; set; }
    }
}